<!--<template>
    <div>混搭
        <br>
        接收父组件传来  {{ziZuJian}}
    </div>

</template>-->

<script>
export default {
    name: "AnchoredHeading",
    data(){
        return {
            nameObj: {
                obj1: "作用域子组件的插槽传递数据给父组件用",
                obj2: 2
            }
        }
    },
    render(createElement, context) {
        // return createElement("span", "你好1")
        console.log(this.$slots)
        return (
                <div>
                    {/*作用域插槽*/}
                    {this.$scopedSlots.fengliulin(this.nameObj)}
                </div>
    )
    }
}
</script>

<style scoped>

</style>